{% assign lang = page.lang | default: site.default_lang %}
<!DOCTYPE html>
<html lang="{{ lang }}">
{% include head.html %}

{% if site.prism.line_numbers %}
<body class="line-numbers" ontouchstart="">
{% else %}
<body ontouchstart="">
{% endif %}
    <!--[if lt IE 10]>
    <div class="alert-danger" role="alert">你的浏览器实在太太太旧了，放学别走，升级完浏览器再说！<a target="_blank" class="alert-link" href="http://browsehappy.com">立即升级</a></div>
    <![endif]-->
    {% if site.gray %}
    <div id=all class="gray" data-theme="{{ site.theme-color }}">
    {% else %}
    <div id="all" data-theme="{{ site.theme-color }}">
    {% endif %}
      <input id="nm-switch" type="hidden" value="{{ site.nightMode }}">
      <div class="visible">
        {{ content }}
      </div>
    </div>
    {% if page.mermaid or site.mermaid %}
    <div class="modal">
        <div class="modal-content">
          <header>
            <span class="close">&times;</span>
          </header>
          <div class="container"></div>
        </div>
    </div>
    {% endif%}

    <script src="https://cdn.jsdelivr.net/npm/jquery/dist/jquery.min.js"></script>
    <script src="https://cdn.jsdelivr.net/npm/clipboard/dist/clipboard.min.js"></script>
    <script src="https://cdn.jsdelivr.net/npm/prismjs@1.29.0/components/prism-core.min.js"></script>
    <script src="https://cdn.jsdelivr.net/npm/prismjs@1.29.0/plugins/autoloader/prism-autoloader.min.js"></script>
    <script src="https://cdn.jsdelivr.net/npm/prismjs@1.29.0/plugins/line-numbers/prism-line-numbers.min.js"></script>
    <script src="{{ "/assets/js/app.min.js" | prepend: site.baseurl }}"></script>
    <script src="https://cdn.jsdelivr.net/npm/lazysizes@5.3.2/lazysizes.min.js" async></script>
    <script src="https://at.alicdn.com/t/font_3046306_skfh9jzzbbf.js"></script>
    {% include waline.html %}
    {% include analytics.html %}
    {% include umami.html %}
    {% include busuanzi.html %}
    {% include pwa.html %}
    {% include mathjax.html %}
    {% include mermaid.html%}
    {% include webpusher.html %} 
    {% include comments.html %}     
</body>
</html>
